package cn.edu.scau.cmi.ema.service;

import cn.edu.scau.cmi.ema.base.CmiPagination;
import cn.edu.scau.cmi.ema.domain.Discoverylink;

import java.util.List;
import java.util.Map;
import java.util.Set;


public interface DiscoverylinkService {

	public Discoverylink saveDiscoverylink(Discoverylink discoverylink);

	public Set<Discoverylink> loadDiscoverylinks();

	public Set<Discoverylink> loadReferenceDiscoverylinks(Set<Discoverylink> discoverylinks);

	public Set<Discoverylink> loadDiscoverylinksByIdSet(Set<Integer> discoverylinksId);

	public Map<String, ?> loadDiscoverylinkObjectReferencedSet(Discoverylink discoverylink);

	public Map<String, ?> loadDiscoverylinkClassReferencedSet(Discoverylink discoverylink);

	public void deleteDiscoverylink(Discoverylink discoverylink);

	public void deleteDiscoverylinks(Set<Integer> deleteDiscoverylinksId);

	public List<Discoverylink> findAllDiscoverylinks(Integer startResult, Integer maxRows);

	public Discoverylink findDiscoverylinkByPrimaryKey(Integer id);

	public Integer countDiscoverylinks();

	public Integer countDiscoverylinks(CmiPagination page);

	public Integer countDiscoverylinksByName(String queryName);

	public Integer countDiscoverylinksByDetachedCriteria(CmiPagination page);

}
